<div class='form' name='name' *ngIf="formJson;else elseBlock;">
    <div class="formContent">
          <p class="formContentLyfl">
              <span>来源分类：</span>
              <!-- <input type="radio" [(ngModel)]="sortValue" name="flly" id="jdjc" select="true" (change)="radiochang($event)" value="1001" checked="checked">监督检查 -->
                  <label nz-radio name='origin1' [ngModel]='originType=="ins"' [nzDisabled]='!(originType=="ins")' nzValue="ins">监督检查</label>
                  <label nz-radio name='origin2' [ngModel]='originType=="report"'   [nzDisabled]='!(originType=="report")' nzValue="report" >投诉、举报</label>
                  <label nz-radio name='origin3' [ngModel]='originType=="depTran"' [nzDisabled]='!(originType=="depTran")'  nzValue="depTran">其他部门移送</label>
                  <label nz-radio name='origin4' [ngModel]='originType=="subAss"' [nzDisabled]='!(originType=="subAss")'  nzValue="subAss">上级交办</label>
                  <label nz-radio name='origin5' [ngModel]='originType=="other"' [nzDisabled]='!(originType=="other")'  nzValue="other"  >其他</label>
          </p>
          <div class="formContentBox">
              <div class="aytgr" *ngIf="originType=='ins'">
                  <p class="commonTitle"><i></i>案源提供人</p>
                  <div class="aytgrContent">
                      <p class="p1"> 
                          <label>
                          <span>监督检查人：</span><input  readonly type="text" id="jdjcr" name="jcr" class="input1"  [value]='formJson.insName1'>
                        </label>
                          <label>
                          <span>所属单位：</span><input readonly type="text" id="ssdw" class="input2" name="ssdw" [value]='formJson.insDep1'>
                        </label>
                      </p>
                      <p class="p2">
                          <label>
                          <span>监督检查人：</span><input  readonly type="text" id="jdjcr2" class="input1"name="jcr"  [value]='formJson.insName2'>
                      </label>
                          <label>
                          <span>所属单位：</span><input type="text" readonly id="ssdw3" class="input2" name="ssdw" [value]='formJson.insDep2'>
                      </label>
                      </p>
                  </div>
              </div>
              <div class="aytgr" *ngIf="originType=='report'">
                  <p class="commonTitle"><i></i>案源提供人</p>
                  <div class="aytgrContent">
                      <table *ngIf="getSelectValue=='0'" >
                          <tr>
                              <td>投诉、举报人类型：</td>
                              <td>
                                  <nz-select style="width: 120px;vertical-align: middle"  [ngModel]='getSelectValue'   [ngModelOptions]="{standalone: true}" [nzSuffixIcon]='icon' nzAllowClear='false'>
                                      <nz-option nzValue="0" nzLabel="法人" nzDisabled='true'></nz-option>
                                  </nz-select>
                              </td>
                          </tr>
                          <tr> 
                              <td>单位名称：</td>
                              <td>
                                  <ng-container>
                                      <input type="text" readonly placeholder="单位名称" name="depname" [value]='formJson.depNameReport' readonly>
                                  </ng-container>
                              </td>
                          </tr>
                          <tr>
                              <td>法人（负责人）：</td>
                              <td>
                                  <input type="text" readonly placeholder="法定代表人或负责人姓名" name="pic" [value]='formJson.pic' readonly>
                              </td>
                          </tr>
                          <tr>
                              <td>联系电话：</td>
                              <td>
                                  <input type="text"   placeholder="联系电话" name="telnum" readonly [value]='formJson.telNumReport' >
                              </td>
                          </tr>
                          <tr>
                              <td>联系地址：</td>
                              <td>
                                  <input type="text" placeholder="联系地址" name="address" readonly [value]='formJson.addressReport'>
                              </td>
                          </tr>
                          <tr>
                              <td>其他联系方式：</td>
                              <td>
                                  <input type="text" placeholder="QQ/微信/邮箱号等" name="otherinfo" readonly [value]='formJson.otherInfo' >
                              </td>
                          </tr>
                      </table>
  
                      <table *ngIf="getSelectValue=='1'">
                          <tr>
                              <td>投诉、举报人类型：</td>
                              <td>
                                  <nz-select style="width: 120px;vertical-align: middle" [ngModel]='getSelectValue'   [nzSuffixIcon]='icon' nzAllowClear="false">
                                      <nz-option nzValue="1" nzLabel="个人"  readonly nzDisabled='true'></nz-option>
                                  </nz-select>
                              </td>
                          </tr>
                          <tr>
                              <td>姓名：</td>
                              <td>
                                  <input type="text" placeholder="姓名" name="name" readonly [value]='formJson.name'>
                              </td>
                          </tr>
                          <tr>
                              <td>证件号码：</td>
                              <td>
                                  <input type="text" placeholder="身份证或其他有效证件号码" name="idnum"  readonly [value]='formJson.idNum'>
                              </td>
                          </tr>
                          <tr>
                              <td>联系电话：</td>
                              <td>
                                  <input type="text" placeholder="联系电话" name="telnum" readonly [value]='formJson.telNumReport' >
                              </td>
                          </tr>
                          <tr>
                              <td>联系地址：</td>
                              <td>
                                  <input type="text" placeholder="联系地址" name="address" readonly [value]='formJson.addressReport'>
                              </td>
                          </tr>
                          <tr>
                              <td>其他联系方式：</td>
                              <td>
                                  <input type="text" placeholder="QQ/微信/邮箱号等" name="otherinfo" readonly [value]='formJson.otherInfo' >
                              </td>
                          </tr>
                      </table>
  
  
                  </div>
              </div>
  
              <div class="aytgr" *ngIf="(originType=='depTran')||(originType=='subAss')||(originType=='other')">
                  <p class="commonTitle"><i></i>案源提供人</p>
                  <div class="aytgrContent">
                      <table class="myTable">
                          <tr>
                              <td>名称：</td>
                              <td><input type="text" name="depname" id="" placeholder="部门名称" readonly [value]='formJson.depNameTran'></td>
                          </tr>
                          <tr>
                              <td>联系人：</td>
                              <td><input type="text" name="atten" id=""  placeholder="联系人" readonly [value]='formJson.atten'></td>
                          </tr>
                          <tr>
                              <td>联系电话：</td>
                              <td><input type="text" name="telnum" id=""  placeholder="联系电话"  readonly [value]='formJson.telNumTran'></td>
                          </tr>
                          <tr>
                              <td>联系地址：</td>
                              <td><input type="text" name="address" id=""  placeholder="联系地址"  readonly [value]='formJson.addressTran'></td>
                          </tr>
                      </table>
                  </div>
              </div>
  
              <div class="dsrxx">
                  <p class="commonTitle"><i></i>当事人信息</p>
                  <div class="dsrxxContent">
                      <label>名称（姓名）：</label>
                      <input type="text" name="partyName" readonly placeholder="企业名称或个人姓名" [value]='formJson.partyPersionInfo.partyName'><br>
                      <div class='table-select'>
                          <span>住所（住址）：</span>
                          <ng-container *ngIf="addressDetails">
                              <nz-select style="width: 110px;margin-right: 10px"  name="province" [nzSuffixIcon]='icon' [(ngModel)]="addressDetails[0]">
                                  <ng-container *ngFor="let province of provinces" >
                                      <nz-option [nzValue]="province.key" nzDisabled='true' [nzLabel]="province.label">{{province.label}}</nz-option>
                                  </ng-container>
                              </nz-select>
                              <nz-select style="width: 110px;margin-right: 10px"  name="city" [nzSuffixIcon]='icon'  [(ngModel)]="addressDetails[1]">
                                  <ng-container *ngIf="cities">
                                      <ng-container *ngFor="let city of cities">
                                          <nz-option [nzValue]="city.key"  nzDisabled='true' [nzLabel]="city.label">{{city.label}}</nz-option>
                                      </ng-container>
                                  </ng-container>
                              </nz-select>
                              <nz-select style="width: 110px;margin-right: 10px" name="county" [nzSuffixIcon]='icon'  [(ngModel)]="addressDetails[2]">
                                  <ng-container *ngIf="counties">
                                      <ng-container *ngFor="let county of counties ">
                                          <nz-option [nzValue]="county.key" nzDisabled='true' [nzLabel]="county.label">{{county.label}}</nz-option>
                                      </ng-container>
                                  </ng-container>
                              </nz-select>
  
                              <input type="text"  style="width:110px;"  readonly autocomplete="off" name="addressdetail" id="" placeholder="详细门牌地址"  [value]="addressDetails[3]">
                          </ng-container>
                      </div>
                      <br>
                      <label>联系电话：</label>
                      <input type="text" name="phone" placeholder="联系电话"  readonly [value]='formJson.partyPersionInfo.phone'><br>
                      <label>其他联系方式：</label>
                      <input type="text" name="otherPhone" placeholder="QQ/微信/邮箱号等"  readonly [value]='formJson.partyPersionInfo.otherPhone'><br>
                  </div>
              </div>
          </div>
      </div>
      <div class="aydjnr">
        <p class="commonTitle"><i></i>案源登记内容</p>
        <div class="aydjnrContent">
            <label for="">登记人：</label>
            <input type="text" name="registerPerson" placeholder="登记人" readonly [value]='formJson.registerPerson||""' >
            <br>
            <label for="">案源登记内容：</label>
            <textarea class="textarea" name="registerContent" id="" readonly [value]='formJson.registerContent||""'   placeholder="案源登记内容，字数不限" ></textarea>
            <br>
            <label for="">案源处理意见：</label>
            <textarea class="textarea" name="registeridea" id=""  readonly [value]='formJson.opinion||""'  placeholder="案源处理意见，办案机构负责人填写"></textarea>
            <br>
            <label for="">备注：</label>
            <textarea class="textarea2" name="beizhu" id="" placeholder="备注信息" readonly [value]='formJson.remarks||""' ></textarea>
        </div>
    </div>
  </div>
  <ng-template #elseBlock>
    <div style="margin:0 auto;position: relative;height:100%;">
        <img style="position: absolute;width:180px;height:150px; top: 50%;left: 50%;transform:translate(-50%,-50%);" src=''>
        <p style="
        transform:translate(-50%,-50%);
        position: absolute; 
        font-size:18px;
        width:180px;
        height:150px;  
        text-align: center;
        margin-top:150px; 
        top:50%;
        left: 50%;" class="ant-empty-description"> 暂无数据 </p>
    </div>
</ng-template>
<ng-template #icon>
  <i nz-icon nzType="caret-down" nzTheme="outline"></i>
</ng-template>